<template>
  <div class="weather-component-root">
    <div >
       
        <div class="title-img">
            天气动画图标组件
            <div class="title-img-cover">
            </div>
        </div>
        
    </div>
    <div class="weather-components">
        <sunny/>
        <partlyCloud/>
        <clear/>
    </div>
    <!-- <cloudy/> -->
  </div>
</template>

<script setup lang='js'>

import sunny from './sunny.vue';
import partlyCloud from './partly-cloud.vue';
import clear from './clear.vue';

</script>

<style lang="css">

.weather-component-root{
    width: 100%;

}

.title-img-cover{
    width:100%;
    height: 130px;
    margin-top: -90px;
    position: absolute;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 45%);
}

.title-img{
    width: 100%;
    height: 400px;
    color: #FFF;
    font-size: 30px;
    letter-spacing: 10px;
    text-align: center;
    line-height: 400px;
    cursor: pointer;
    
    /* background-color: #4a3db2; */
    background: linear-gradient(140deg , #4a3db2 0, #b318f5 100%);
}

.weather-components{
    width: 100%;
    height: 100%;
    margin-top: 20px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

</style>